查询报关资料(旧)详情
POST
/supplyShipmentBasic/openApi/customsDeclaration/detail接口信息
| API Path | 请求协议 | 请求方式 | 令牌桶容量 |
|---|---|---|---|
/supplyShipmentBasic/openApi/customsDeclaration/detail | HTTPS | POST | 1 |
请求参数
orderSnstring必填请求cURL示例
curl --location 'https://openapi.lingxing.com/supplyShipmentBasic/openApi/customsDeclaration/detail?access_token=value×tamp=value&sign=value&app_key=value' \
--header 'Content-Type: application/json' \
--data '{
"orderSn": "BG202512230001"
}'
返回结果
Json Object
codeinteger必填dataobject隐藏子属性
billOfLadingNostringboxItemsarray<object>隐藏子属性
boxNostringboxUniqueKeystringcbmnumbercdIdstringcdbiIdstringcompanyIdstringctnsintegergwnumberheightnumberlengthnumbernwnumberproductListarray<object>隐藏子属性
boxBrandTypestringboxModelstringbrandstringcdIdstringcdbiIdstringcdbipIdstringcompanyIdstringcurrencystringdescriptionCnstringhsCodestringinlandsSourcestringpcsintegerpricenumberproductTempKeystringproductUniqueKeystringsingleBoxPcsintegersingleGwnumbersingleNwnumberunitstringwidthnumberbusinessSnsarray<any>businessTypestringcdIdstringcdrIdstringcdsIdstringclutterFeestringcommitmentStatementstringcontractDatestringcontractDealMethodstringcontractNostringcontractTemplateIdstringcontractTermsstringcreateRealnamestringcreateTimestringcreateUidintegercreditCodestringcustomNostringcustom_fieldsobject隐藏子属性
characterstringidstringnamestringvalobjectval_textstringdeadlineDatestringdeadlineDateRuleintegerdealMethodstringdeclarationChargeCurrencystringdeclarationChargeCurrencyIconstringdeclarationChargePricenumberdeclarationDatestringdeclarationPortstringdeparturePortstringdownloadCountintegerentrustItemsarray<any>entrustMethodsarray<any>entrustTemplateIdstringentrustedSidestringentrustedSideDeclarationOrderSnstringexemptstringexitCustomsstringexportDatestringfilesarray<object>隐藏子属性
fileIdintegerfileNamestringfileUrlstringimportExportDatestringimportExportDateRuleintegerimportantElementTemplateIdstringinvoiceDatestringinvoiceDateRuleintegerinvoiceNostringinvoiceTemplateIdstringisPriceInfluenceintegerisPriceInfluenceNamestringitemsarray<object>隐藏子属性
aimCountrystringbillBrandstringbillCustomNostringbillModelstringbillModelTypestringbillModelTypeIdintegerboxBrandstringboxBrandTypestringboxModelstringboxNostringbrandstringbrandTypestringbrandTypeIdintegercbmnumbercdIdstringcdiIdstringcgBoxWeightnumbercontractCurrencystringcontractCurrencyIconstringcontractPricenumberctnsintegercurrencystringcurrencyIconstringcustom_fieldsobject隐藏子属性
characterstringidstringnamestringvalobjectval_textstringdeclarationElementUsagestringdeclareSpecstringdescriptionCnstringdetailarray<any>elementMaterialstringexemptstringgwnumberheightnumberhsCodestringinlandsSourcestringisCombointegerlawNumstringlawUnitstringlengthnumbermakeNostringnwnumberoriginCountrystringotherDeclarationElementsstringpcsintegerpreferentialstringpricenumberproductIdintegerproductModelstringproductTempKeystringproductUniqueKeystringpurchaseOrderSnsstringquarantineCodestringsingleGwnumbersingleNwnumberunitstringwidthnumbermerchantNostringorderSnstringotherRequeststringpackingListDatestringpackingListRuleintegerpackingListTemplateIdstringpackingTypestringpaymentTermsstringpermitNostringpreRecordedNostringpremiumFeestringprintCountintegerreceiveOrderDatestringreceiveOrderDateRuleintegerreceiveOrdersarray<any>receiverobject隐藏子属性
addressstringcdrIdstringcompanyNamestringcontactNamestringelectronicSealPicturestringemailstringfaxstringisDefaultbooleanmobilestringreceiverCompanyNamestringrecordNumberstringremarkstringruleTypeintegersalesUnitstringselectedTabsstringshipNamestringshipToCountrystringshipToCountryIdsarray<any>shipmentDatestringshipmentDateRuleintegershipmentPortstringshipperobject隐藏子属性
addressstringcdsIdstringcompanyNamestringcontactNamestringcreditCodestringelectronicSealPicturestringemailstringfaxstringisDefaultbooleanmobilestringshipperCompanyNamestringshippingMarksstringsignAddressstringsignDatestringsignDateRuleintegerspecialRelationshipConfirmstringsuperviseMethodstringtemplateIdstringtotalCtnsintegertotalGwnumbertotalNwnumbertotalPcsintegertradeCountrystringtransportModeintegertransportModeNamestringtransportToolNumberstringupdateRealnamestringupdateTimestringupdateUidintegerusdFeestringerror_detailsarray<any>messagestring必填request_idstring必填response_timestring必填successbooleantotalinteger返回成功示例
{
"code": 0,
"message": "success",
"error_details": [],
"request_id": "4683c92968ca47ccbff50f1ea8e4fb7a.165.17299260210002027",
"response_time": "2024-10-26 15:00:21",
"data": {
"billOfLadingNo": "BL123456789",
"boxItems": [
{
"boxNo": "BOX001",
"boxUniqueKey": "BOX-KEY-001",
"cbm": 0.5,
"cdId": "CD-1001",
"cdbiId": "CDBI-1001-001",
"companyId": "COM123",
"ctns": 1,
"gw": 20.5,
"height": 50.0,
"length": 80.0,
"nw": 18.0,
"productList": [
{
"boxBrandType": "电子产品",
"boxModel": "X100",
"brand": "SONY",
"cdId": "CD-1001",
"cdbiId": "CDBI-1001-001",
"cdbipId": "CDBIP-1001-001-001",
"companyId": "COM123",
"currency": "USD",
"descriptionCn": "智能手机",
"hsCode": "8517122000",
"inlandsSource": "广东深圳",
"pcs": 100,
"price": 500.0,
"productTempKey": "PTK-001",
"productUniqueKey": "PUK-001",
"singleBoxPcs": 10,
"singleGw": 0.2,
"singleNw": 0.18,
"unit": "PCS"
},
{
"boxBrandType": "配件",
"boxModel": "CBL-001",
"brand": "SONY",
"cdId": "CD-1001",
"cdbiId": "CDBI-1001-001",
"cdbipId": "CDBIP-1001-001-002",
"companyId": "COM123",
"currency": "USD",
"descriptionCn": "USB数据线",
"hsCode": "8544421000",
"inlandsSource": "广东深圳",
"pcs": 500,
"price": 5.0,
"productTempKey": "PTK-002",
"productUniqueKey": "PUK-002",
"singleBoxPcs": 50,
"singleGw": 0.01,
"singleNw": 0.008,
"unit": "PCS"
}
],
"width": 60.0
},
{
"boxNo": "BOX002",
"boxUniqueKey": "BOX-KEY-002",
"cbm": 0.3,
"cdId": "CD-1001",
"cdbiId": "CDBI-1001-002",
"companyId": "COM123",
"ctns": 1,
"gw": 15.0,
"height": 40.0,
"length": 70.0,
"nw": 13.5,
"productList": [
{
"boxBrandType": "电子产品",
"boxModel": "Y200",
"brand": "SAMSUNG",
"cdId": "CD-1001",
"cdbiId": "CDBI-1001-002",
"cdbipId": "CDBIP-1001-002-001",
"companyId": "COM123",
"currency": "USD",
"descriptionCn": "平板电脑",
"hsCode": "8471300000",
"inlandsSource": "江苏南京",
"pcs": 50,
"price": 300.0,
"productTempKey": "PTK-003",
"productUniqueKey": "PUK-003",
"singleBoxPcs": 5,
"singleGw": 0.3,
"singleNw": 0.28,
"unit": "PCS"
}
],
"width": 50.0
}
],
"businessSns": [
"PO2023001",
"SO2023005"
],
"businessType": 1,
"cdId": "CD-1001",
"cdrId": "BUYER-001",
"cdsId": "SELLER-001",
"clutterFee": "150.00",
"commitmentStatement": "我司承诺所提供信息真实准确。",
"contractDate": "2023-03-10 00:00:00",
"contractDealMethod": "FOB",
"contractNo": "CONTRACT-001",
"contractTemplateId": "CT-001",
"contractTerms": "详细条款见附件合同。",
"createRealname": "王小明",
"createTime": "2023-04-20 10:30:00",
"createUid": 1001,
"creditCode": "91440300XXXXXXXXXX",
"customNo": "CUSTOMS-NO-2023001",
"custom_fields": {
"character": "text",
"id": "CF-001",
"name": "特殊要求",
"val": "易碎品,请轻放",
"val_text": "易碎品,请轻放"
},
"deadlineDate": "2023-12-31 00:00:00",
"deadlineDateRule": 1,
"dealMethod": "CIF",
"declarationChargeCurrency": "CNY",
"declarationChargeCurrencyIcon": "¥",
"declarationChargePrice": 1000.0,
"declarationDate": "2023-04-22 00:00:00",
"declarationPort": "深圳海关",
"departurePort": "蛇口港",
"downloadCount": 5,
"entrustItems": [
"A",
"B",
"C"
],
"entrustMethods": [
"A"
],
"entrustTemplateId": "ET-001",
"entrustedSide": "中外运",
"entrustedSideDeclarationOrderSn": "ZWY-DC-2023-001",
"exempt": "无",
"exitCustoms": "深圳",
"exportDate": "2023-04-25 00:00:00",
"files": [
{
"fileId": 2001,
"fileName": "合同副本.pdf",
"fileUrl": "https://example.com/files/contract.pdf"
},
{
"fileId": 2002,
"fileName": "发票.pdf",
"fileUrl": "https://example.com/files/invoice.pdf"
}
],
"importExportDate": "2023-04-25 00:00:00",
"importExportDateRule": 1,
"importantElementTemplateId": "IET-001",
"invoiceDate": "2023-03-15 00:00:00",
"invoiceDateRule": 1,
"invoiceNo": "INV-001",
"invoiceTemplateId": "IT-001",
"isPriceInfluence": 2,
"isPriceInfluenceName": "否",
"items": [
{
"aimCountry": "美国",
"billBrand": "SONY",
"billCustomNo": "BCN-001",
"billModel": "X100",
"billModelType": "智能手机",
"billModelTypeId": 101,
"boxBrand": "SONY",
"boxBrandType": "电子产品",
"boxModel": "X100",
"boxNo": "BOX001",
"brand": "SONY",
"brandType": "电子产品",
"brandTypeId": 10001,
"cbm": 0.5,
"cdId": "CD-1001",
"cdiId": "CDI-1001-001",
"cgBoxWeight": 20.5,
"contractCurrency": "USD",
"contractCurrencyIcon": "$",
"contractPrice": 500.0,
"ctns": 1,
"currency": "USD",
"currencyIcon": "$",
"custom_fields": {
"character": "text",
"id": "CF-ITEM-001",
"name": "特殊描述",
"val": "防水防尘",
"val_text": "防水防尘"
},
"declarationElementUsage": "通讯",
"declareSpec": "5G, 256GB",
"descriptionCn": "智能手机",
"detail": [],
"elementMaterial": "塑料,玻璃",
"exempt": "无",
"gw": 20.5,
"height": 50.0,
"hsCode": "8517122000",
"inlandsSource": "广东深圳",
"isCombo": 0,
"lawNum": "100",
"lawUnit": "台",
"length": 80.0,
"makeNo": "ABCDEF",
"nw": 18.0,
"originCountry": "中国",
"otherDeclarationElements": "电池容量",
"pcs": 100,
"preferential": "无",
"price": 500.0,
"productId": 3001,
"productModel": "X100",
"productTempKey": "PTK-001",
"productUniqueKey": "PUK-001",
"purchaseOrderSns": "PO2023001",
"quarantineCode": "Q123",
"singleGw": 0.2,
"singleNw": 0.18,
"unit": "PCS",
"width": 60.0
}
],
"merchantNo": "MERCHANT-001",
"orderSn": "BG-2023-001",
"otherRequest": "加急办理",
"packingListDate": "2023-03-20 00:00:00",
"packingListRule": 1,
"packingListTemplateId": "PLT-001",
"packingType": "纸箱",
"paymentTerms": "T/T 30 days",
"permitNo": "PERMIT-001",
"preRecordedNo": "PRN-2023-001",
"premiumFee": "50.00",
"printCount": 1,
"receiveOrderDate": "2023-04-18 00:00:00",
"receiveOrderDateRule": 1,
"receiveOrders": [
1,
2,
3
],
"receiver": {
"address": "123 Main St, Anytown, USA",
"cdrId": "BUYER-001",
"companyName": "ABC Inc.",
"contactName": "John Doe",
"electronicSealPicture": "http://example.com/buyer_seal.png",
"email": "john.doe@abc.com",
"fax": "123-456-7891",
"isDefault": true,
"mobile": "123-456-7890"
},
"receiverCompanyName": "ABC Inc.",
"recordNumber": "REC-2023-001",
"remark": "此批货物急需清关",
"ruleType": 1,
"salesUnit": "件",
"selectedTabs": "报关信息,装箱信息",
"shipName": "EVERGREEN LINE",
"shipToCountry": "美国",
"shipToCountryIds": [
"US"
],
"shipmentDate": "2023-04-24 00:00:00",
"shipmentDateRule": 1,
"shipmentPort": "洛杉矶港",
"shipper": {
"address": "456 Oak Ave, Shenzhen, China",
"cdsId": "SELLER-001",
"companyName": "XYZ Co., Ltd.",
"contactName": "Jane Smith",
"creditCode": "91440300XXXXXXXXXY",
"electronicSealPicture": "http://example.com/seller_seal.png",
"email": "jane.smith@xyz.com",
"fax": "0755-12345679",
"isDefault": true,
"mobile": "0755-12345678"
},
"shipperCompanyName": "XYZ Co., Ltd.",
"shippingMarks": "N/M",
"signAddress": "深圳",
"signDate": "2023-04-20 00:00:00",
"signDateRule": 1,
"specialRelationshipConfirm": "无",
"superviseMethod": "一般贸易",
"templateId": "MAIN-TPL-001",
"totalCtns": 2,
"totalGw": 35.5,
"totalNw": 31.5,
"totalPcs": 150,
"tradeCountry": "中国",
"transportMode": 10001,
"transportModeName": "海运",
"transportToolNumber": "MSC GULSUN V.230R",
"updateRealname": "李华",
"updateTime": "2023-04-24 16:00:00",
"updateUid": 1002,
"usdFee": "2000.00"
},
"total": 3
}